<%-- 
    Document   : addusers
    Created on : 03 1, 12, 9:48:26 PM
    Author     : Gabs
--%>

<%@ page language="java" contentType="text/html" import="java.util.*"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<jsp:include page="admincheck.jsp" />

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add Admin Page</title>
    </head>
    <style>
        .errorMessage {
        color: red;
        font-size: 0.8em;
        } 

        .label {
        color:#000000;
        }
        </style>
        </head>
        <body>
        <table>
        <tr>
        <td>
        <body>
           <s:url action="viewdetails.action" var="view">
            <s:param name="managerusername"><s:property value="#session.login.username"/></s:param>
        </s:url>
        <h3>Add Manager</h3>
        <s:form action="addmanager" method="POST">
            <table border="0">
                <tbody>
                    <tr>
                        <td><s:textfield name="managerusername" label="Username"/></td>
                    </tr>
                    <tr>
                        <td><s:password name="managerpassword" label="Password" /></td>
                    </tr>
                  <tr>
                        <td><s:select name="managertype" label="Manager Type" list="{'Select', 1, 2, 3, 4}" /></td>
                    </tr>
                    
                     
                    <tr>
                        
                        <td><s:submit value="Register" align="left"/></td>   
                        
                    </tr>
                </tbody>
            </table>
                        
        </s:form>
        <br>

<br><br>


    </body>
</html>


